package com.shinewind.pojo.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "用于返回新品速递模块数据")
public class NewProductsVo implements Serializable {
    @ApiModelProperty(value = "模型id")
    @JsonProperty("id")
    private String mId;
    @ApiModelProperty(value = "模型标题")
    private String title;
    @ApiModelProperty(value = "模型图片地址")
    private String src;
    @ApiModelProperty(value = "模型跳转链接")
    private String href;
    @ApiModelProperty(value = "模型价格")
    private Double price;
    @ApiModelProperty(value = "模型发售时间")
    private List<String> saleTime;
    @ApiModelProperty(value = "模型品牌")
    private String brand;
    @ApiModelProperty(value = "模型类型")
    private String type;
}
